home *** CD-ROM | disk | FTP | other *** search
- ChkSpace 1.0
-
- Shareware Utility by Horizon Software, Inc.
-
- Copyright 1994
-
- CHECKSPACE is a DOS utility that permits checking the available free space on the current drive, and
- will return the following DOS errorlevel codes. These can be tested in a batch file to determine the free
- space on the current DOS drive (or device).
-
- ERRORLEVEL 0 is returned if xx or greater space is free on current drive
- ERRORLEVEL 1 is returned if xx or greater space is NOT free on current drive
-
- Use this utility in a batch file similar to the one shown below:
- (included here as CHKSP.BAT)
-
-
- @ECHO OFF
- CLS
- rem Test here for %1 MB free space, branch if available
- rem This batch file written by Mark Strelecki, ACP
- CHKSPACE %1
- IF ERRORLEVEL 1 GOTO END
- ECHO You Have The Free Space!
- REM DO THE OTHER STUFF HERE
- :END
-
-
- If you decide to use this program in any capacity, please send $10 to:
-
- Horizon Software, Inc.
- PO BOX 12200
- Atlanta, GA 30355-2200
-
- For complete source code with registration, send $20
-
- To contact the author, Wayne Breivogel at CIS address 73633,551
- or Mark Strelecki at address 75730,1661 [Uploader on 5-12-94]
-
- Thank You!
-